/**
 * 
 */
package dao;

import java.util.List;

import service.SeniorAdminQueryHelper;
import utils.Page;

import model.Administrator;
import model.User;

/**
 * @ClassName: SeniorAdminDao
 * @Description:
 * @author Hongming Wu
 * @date 2013-12-6
 * 
 */
public interface SeniorAdminDao {

	// User
	public void createUser(User user);

	public void updateUser(User user);

	public void deleteUser(String userID);

	public User getUserByID(String userID);

	public Integer countUsers(SeniorAdminQueryHelper helper);

	public List<User> getScopedUser(SeniorAdminQueryHelper helper, int begin,
			int end);
	
	public Administrator getAdminByName(String userName);
	
	public String countUsers();

}
